#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Jun 25 11:14:03 2018

@author: chenliheng
"""

# 打印等腰三角形

for i in range(1,6):  # 行数
    print(' ' * (5-i), end='') # 打印不换行
    print('*' * (i * 2 - 1))
    